/**
* Copyright © 2018-2019, by 晓叹星沉.
*/
package org.aurora.aurora.springcloud.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 
 * <p>
 * 此处填写类说明
 * </p>
 * @author 晓叹星沉
 * @since jdk1.8
 * 2019年7月16日
 *  
 */
@RestController
public class HelloController {

	//新增的方法
    @RequestMapping(value = "/hello", method= RequestMethod.GET)
    public String hello() {
        return "Hello ";
    }
	//新增的方法
    @RequestMapping(value = "/hellol", method= RequestMethod.GET)
    public String hello(@RequestParam String name) {
        return "Hello " + name;
    }
}
